package edu.tgc.web.form.teaching;

import java.util.Date;
import java.util.UUID;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.abyss.common.web.form.easyui.CommonEasyuiWebForm;
import org.springframework.format.annotation.DateTimeFormat;

import edu.tgc.entity.system.SysDept;
import edu.tgc.entity.system.SysUser;

public class EnrollForm extends CommonEasyuiWebForm<UUID> {
	private String name;
	//private Enroll parent;
	private String comment; //说明
	//private double cost;//缴费
	private SysDept dept;
	private Date endTime;
	private SysUser creator;
	private String searchKey;
	private Boolean endTimeBool;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public SysDept getDept() {
		return dept;
	}
	public void setDept(SysDept dept) {
		this.dept = dept;
	}

	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public SysUser getCreator() {
		return creator;
	}
	public void setCreator(SysUser creator) {
		this.creator = creator;
	}
	public String getSearchKey() {
		return searchKey;
	}
	public void setSearchKey(String searchKey) {
		this.searchKey = searchKey;
	}
	public Boolean getEndTimeBool() {
		return endTimeBool;
	}
	public void setEndTimeBool(Boolean endTimeBool) {
		this.endTimeBool = endTimeBool;
	}

}
